package com.ibeeking.found.cop.service.common.dos;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import com.ibeeking.found.common.base.BaseDO;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * @ClassName  CopDepartmentDO
 * @Description
 * @Author ibeeking
 * @Date 2021-01-15 10:44
 **/
@ToString(callSuper = true)
@Data
@TableName("cop_department")
public class CopDepartmentDO extends BaseDO implements Serializable {
    private static final long serialVersionUID = -1L;

    /**
     * 租户id
     */
    @TableField(value = "tenant_id")
    private Long tenantId;
    /**
     * 父id
     */
    @TableField(value = "parent_id")
    private Long parentId;

    /**
     * 部门中文名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 部门英文名称
     */
    @TableField(value = "nick_name")
    private String nickName;

    /**
     * 顺序号
     */
    @TableField(value = "sort")
    private Long sort;
}
